package com.zy.pay.api.enums;

/**
 * 聚合支付接口 <br>
 *
 * @author panweiqiang <br>
 * @date 2020/7/7 10:30 <br>
 */
public enum ZyPayApiEnum {

    // 聚合支付接口
    PRE_ORDER("/pay/unified/preOrder.shtml", "预下单"),

    ORDER_QUERY("/query/payOrder.shtml", "订单查询"),

    ORDER_REFUND("/pay/unified/refund.shtml", "订单退款"),

    ORDER_REFUND_QUERY("/query/refundOrder.shtml", "订单退款查询"),

    ORDER_CLOSE("/pay/close.shtml", "订单关闭");

    /**api接口地址*/
    private String api;

    /**api接口名称*/
    private String name;

    ZyPayApiEnum(String api, String name) {
        this.api = api;
        this.name = name;
    }

    public String getApi() {
        return api;
    }

    public String getName() {
        return name;
    }
}